class tl_deal_result:

    def __init__(self):
        self.id = ''
        self.strategy_id = -1;
        self.symbol = ''
        self.funding_rate = -5;
        self.funding_rate_time = 0
        self.open_price = 0
        self.close_price = 0
        self.open_time = ''
        self.close_time = ''
        self.profit = 0
        self.reason = -1;
        self.created_time = None;
        self.updated_time = None
        self.status = -1;
        self.open_amount = 0;

        self.open_order_id = '';
        self.stop_profit_order_id = '';
        self.stop_loss_order_id = '';
        self.position_side = '';
